/*
 * Copyright ®2018 juneyaoair Group.
 *
 *
 *
 */
 
package ${classPackage};

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
<#if importPackage?exists>
	<#list importPackage as table>
import ${table};
	</#list>
</#if>

/**
 * ${classComment}
 *
 * @author ${author}
 * @date ${.now}
 */
@Data
@ToString
@EqualsAndHashCode(callSuper=false)   
public class ${className} <#if baseDtoRule>extends ${parentClass}</#if> {

    <#list attrList as attr>
    /** ${attr.comment} ${attr.commentDesc} */
    @ApiModelProperty(value="${attr.comment}")
    @JsonProperty(value="${attr.name}")
    private ${attr.type} ${attr.attrName};
    </#list>
}